let isSignTime = function(){
	let timeRanges = [{
				beginTime: "8:20",
				endTime: "10:00",
				info: "上午1-2节"
			},
			{
				beginTime: "10:20",
				endTime: "12:00",
				info: "上午3-4节"
			},
			{
				beginTime: "14:20",
				endTime: "16:00",
				info: "下午5-6节"
			},
			{
				beginTime: "16:20",
				endTime: "18:00",
				info: "下午7-8节"
			},
			{
				beginTime: "19:00",
				endTime: "20:40",
				info: "晚上9-10节"
			}
		]
	
		let n = new Date();
		let b = new Date();
		let e = new Date();
	
		for (let item of timeRanges) {
			let strb = item.beginTime.split(":");
			let stre = item.endTime.split(":");
			b.setHours(strb[0])
			b.setMinutes(strb[1])
			e.setHours(stre[0])
			e.setMinutes(stre[1])
			if (n.getTime() - b.getTime() > 0 && n.getTime() - e.getTime() < 0) {
				return item;
			}
		}
		
		return 0;
}

export {
	isSignTime
}
